package com.yfp.machine.domain.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.io.Serializable;

@Schema(title = "根据坐标点和距离返回设备设备：请求参数")
public class CoordinateLimitSummaryVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(title = "经度")
    @NotNull(message = "经度不能为空")
    private String longitude;
    @Schema(title = "纬度")
    @NotNull(message = "纬度不能为空")
    private String latitude;
    @Schema(title = "离中心点最远距离范围")
    @NotNull(message = "离中心点最远距离范围不能为空")
    private Double maxRange;
    @Schema(title = "要求显示第几页数据")
    @NotNull(message = "页码不能为空")
    private Integer pageIndex = 1;
    @Schema(title = "要求每次返回最大数据量")
    @NotNull(message = "每页数量不能为空")
    private Integer pageSize = 10;

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Double getMaxRange() {
        return maxRange;
    }

    public void setMaxRange(Double maxRange) {
        this.maxRange = maxRange;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
